package com.easy.persondemo;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.easylib.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class FirstActivity extends BaseActivity {

    @Override
    public int getContentViewId() {
        return R.layout.activity_first;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void initVariable() {

    }

    @Override
    protected void processLogic(Bundle savedInstanceState) {

    }

    @OnClick({R.id.view1, R.id.view2, R.id.view3})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.view1:
//            case R.id.tv2:
                Intent intent = new Intent(mContext, MainActivity.class);
                startActivity(intent);
                break;
            case R.id.view2:
                Intent intent2 = new Intent(mContext, Pdf1Activity.class);
                startActivity(intent2);
                break;
            case R.id.view3:
                Intent intent3 = new Intent(mContext, Pdf2Activity.class);
                startActivity(intent3);
                break;
        }
    }
}
